home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / MNUMTC10.ARJ / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-01-22  |  522b  |  22 lines

  1. echo off
  2. for %%f in (A:,a:,B:,b:,C:,c:,D:,d:,E:,e:,F:,f:,G:,g:,H:,h:,Y:,y:) do if %1.==%%f. goto BEGIN
  3. for %%f in (I:,i:,J:,j:,K:,k:,L:,l:,M:,m:,N:,n:,O:,o:,P:,p:,Z:,z:) do if %1.==%%f. goto BEGIN
  4. for %%f in (Q:,q:,R:,r:,S:,s:,T:,t:,U:,u:,V:,v:,W:,w:,X:,x:) do if %1.==%%f. goto BEGIN
  5. goto UNKNOWN
  6.  
  7. :BEGIN
  8. %1
  9. md \mnumatic
  10. cd \mnumatic
  11. copy a:*.*
  12. echo All OK!
  13. goto exit
  14.  
  15. :UNKNOWN
  16. echo Invalid drive specified.
  17. echo Example:    A:INSTALL C:
  18. echo This will install MenuMatic on Drive C:
  19. goto exit
  20.  
  21. :exit
  22.